package mapper;

import entity.SaleOpportunity;

import java.util.List;
import java.util.Map;

/**
 * @author lay
 * @date 2020/6/18 9:24
 */
public interface SaleMapper {

    int insert(SaleOpportunity saleOpportunity);

    List<SaleOpportunity> selectAll();

    int batchDelete(Integer[] ids);

    int delete(Integer id);

    SaleOpportunity selectById(Integer id);

    int update(SaleOpportunity saleOpportunity);



    List<SaleOpportunity> selectByMap(Map<String, Object> map);
}
